//
//  ShakeToSelectViewController.h
//  ShareYOU
//
//  Created by Suns孙泉 on 14/12/17.
//  Copyright (c) 2014年 ShareYOU. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ShakeToSelectViewController : UIViewController

//微信的摇一摇是怎么实现的~发现原来 ios本身就支持
//在 UIResponder中存在这么一套方法

- (void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_3_0);

- (void)motionEnded:(UIEventSubtype)motion withEvent:(UIEvent *)event __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_3_0);

- (void)motionCancelled:(UIEventSubtype)motion withEvent:(UIEvent *)event __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_3_0);

@end
